package com.xyht.sca_s.student_manage_system.modules.rxRegistrationAdvance.service;

import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.rxRegistrationAdvance.entity.RxRegistrationAdvanceStudentInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.modules.rxRegistrationAdvance.entity.req.RxRegistrationAdvanceStudentInfoAddReq;
import com.xyht.sca_s.student_manage_system.modules.rxRegistrationAdvance.entity.req.RxRegistrationAdvanceStudentInfoBatchReq;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;
import java.util.concurrent.Future;

/**
 * <p>
 * 招生预报名学生信息 服务类
 * </p>
 *
 * @author XYHT
 * @since 2024-05-12
 */
public interface RxRegistrationAdvanceStudentInfoService extends IService<RxRegistrationAdvanceStudentInfo> {

    ResponseResult getAdvanceData();

    ResponseResult getAdvanceStuInfo(String idCard);

    ResponseResult advancePayment(RxRegistrationAdvanceStudentInfoAddReq addReq);


    ResponseResult updateStuInfo(RxRegistrationAdvanceStudentInfoAddReq addReq);

    Future<ResponseResult> admissionDownload(String stuId, HttpServletResponse response);

    ResponseResult getStuInfoList(Integer pageNum, Integer pageSize, String stuName, String planId, Integer isStay, String tel, String middleSchoolId, String majorId,
                                  String idCard, Integer isFilingStu);

    Future<ResponseResult> exportStuInfoList(RxRegistrationAdvanceStudentInfoBatchReq exportReq, HttpServletResponse response);

    Future<ResponseResult> batchAddOldStudentPaymentData(Map<String, Object> map, String user_id);

    ResponseResult addCategoryRecord();

    ResponseResult deletedOldData();

    Future<ResponseResult> batchAddOldPaymentData(Map<String, Object> map, String user_id);
}
